//
//  ClassifyHelper.h
//  JZMCFM
//
//  Created by MJL on 15/10/31.
//  Copyright (c) 2015年 陈卓. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CategoryModel;
@class  CategoryPlayListModel;
typedef void(^Result)();

@interface ClassifyHelper : NSObject
//分类数组
@property(nonatomic,strong)NSArray *categoryArray;
//分类详情头部数组
@property(nonatomic,strong)NSArray *categoryHeaderArray;
//分类详情cell数组
@property(nonatomic,strong)NSArray *categorycellArray;
//分类详情cell头部的数组
@property(nonatomic,strong)NSArray *categoryCellHeaderArray;


/**
 *  创建单例
 */

+ (instancetype)sharedInstance;

/**
 *  分类请求数据
 */
- (void)downLoadDataFinished:(Result)result;

/**
 *  分类详情请求数据
 */
- (void)downLoadHeaderDataWithString:(NSString *)string withBlock:(Result)headerResult;
#pragma mark cell数据请求
//- (void)downLoadCellDataWithString:(NSString *)string withBlock:(Result)cellResult;

;
/**
 *  轮播图
 */

- (UIView * )LBImageView:(NSArray *)ImageViewArr;

/**
 *  播放列表自定义头部
 */
- (UIView *)setHeaderViewWithModel:(CategoryPlayListModel *)model;
//解析播放列表头部
- (void)downLoadPlayLisetDataWithString:(NSString *)string withBlock:(Result)playBlock;



@end
